<div class="view">
    <h3 class="title">
        <span><?php echo CHtml::link(CHtml::encode($data->title), $data->url); ?></span>
    </h3>
    <div class="teaser">
        <div class="info">
            <span class="author">作者: <a href="/site/about.html"><?php echo CHtml::encode($data->author->username); ?></a></span>
            <span class="date">发表: <?php echo CHtml::encode(date('Y-m-d', $data->update_time)); ?></span>
            <span class="category">分类: <?php echo CHtml::link($data->category->cate_name, array('article/category', 'id'=>$data->category_id));    ?></span>
            <span class="view">浏览 <?php echo CHtml::encode($data->hits); ?> 次</span>
            <span class="comment">回复 <?php echo CHtml::link($data->commentCount, $data->url . '#comments'); ?> 次</span>
        </div>
        <?php
        $this->beginWidget('CMarkdown', array('purifyOutput' => true));
        echo mb_substr($data->content, 0, 60, 'utf-8');
        $this->endWidget();
        ?>
        <div class="tags"><span class="tag"><b>标签</b></span>: <?php echo implode(', ', $data->tagLinks); ?></div>
    </div>
</div>
